package com.example.tests;

import static org.testng.AssertJUnit.assertEquals;
import org.testng.annotations.Test;

import com.example.fw.Folders;


public class TestFolderDeletion extends TestBase {

	@Test
	public void deleteFolder (){
        Folders oldFolders = app.getFolderHelper().getFolders();
        app.getMenuHelper().pushDeleteFolder();

        Folders newFolders = app.getFolderHelper().getFolders();

        assertEquals(oldFolders.size() - 1, newFolders.size());
	}
	
}

